-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: import custom component from local directory #182
Conversation
).toMatchSnapshot(); | ||
}); | ||
|
||
it('should render declarations', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was worried the local imports would break the type declarations, but this appears to be working fine.
8859b39
to
7d042cf
Compare
|
|
814ae84
to
ae0bf24
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending investigation on that findChildOverrides v. getOverridesForType or whatever, but I'm also fine publishing that as a followup, since both helpers do exist.
Retain unofficial support of all primitives
From Chris on
So we should use I'll confirm with Harrison, but like Al said we can merge this then follow up if needed. |
Custom components attempted to import from amplify-ui rather than a local import.
CustomComponentRenderer